package com.chenjun.core.service.sys;

import java.util.List;

import com.chenjun.common.bean.Pagination;
import com.chenjun.common.model.DataGridModel;
import com.chenjun.core.dao.generator.entity.SysRole;

public interface SysRoleService {

	public SysRole get(String id);

	public int create(SysRole record);

	public int delete(String id);

	public int update(SysRole record);

	public int createOrUpdate(SysRole record);

	public int doCountByCondition(DataGridModel param);
	public List<SysRole> doListByCondition(DataGridModel param);
	public Pagination doPagination(DataGridModel param);

}
